//
//  SEGDigitalManager.h
//  YYKitDemo
//
//  Created by 刘山 on 2017/11/6.
//  Copyright © 2017年 Sam. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SEGNewQuizModel.h"
#import "SEGPropertyAppraisalModel.h"

typedef void (^SEGRequestCallBack)(BOOL isSuccessed, NSString* codeType, NSString* errorMessage);

@interface SEGDigitalManager : NSObject
@property (nonatomic, strong)NSArray<SEGNewQuizModel*>* dataQuizSource;
@property (nonatomic, strong) NSArray<SEGPropertyAppraisalModel *> *propertyAppraisalDatas;
@property (nonatomic, assign) NSInteger totalPages; // 记录评优列表的分页数量

/**
 * 住户好评
 * @author Sam
 * @param quizTypeId  类型，值为：10010
 * @param communityId  小区ID
 * @param pageNo  页码
 * @param pageSize  条目数
 */
-(void)requestFiveStarWithquizTypeId:(NSString*)quizTypeId
                         communityId:(NSString*)communityId
                              pageNo:(NSInteger)pageNo
                            pageSize:(NSInteger)pageSize
                            Finished:(SEGRequestCallBack)finished;

/**
  v4.9.0
 优秀员工活动列表

 @param pageIndex 页数
 @param pageSize 分页大小
 @param finishe 回调
 */
- (void)requestPropertyAppraisalListWithPageIndex:(NSInteger)pageIndex pageSize:(NSInteger)pageSize finished:(SEGRequestCallBack)finishe;


/**
  v4.9.0
 优秀员工点赞接口

 @param EmployeeId 优秀员工ID
 @param finished 回调
 */
- (void)requestPropertyAppraisalFaverWithEmployeeId:(NSString *)EmployeeId finished:(SEGRequestCallBack)finished;

@end
